package cqrs

import java.util.Calendar;
import java.util.UUID;

interface EventStream {
	Event next();
	boolean hasNext();
}

interface EventSource {
	void commit(EventStream event);
}

class Event {
	final UUID eventId;
	final UUID domainId;
	final Calendar timestamp;
			
}